package com.itheima.service;

import com.itheima.domain.CarItem;

import java.util.List;

public interface CarItemService {
    int insertCarItem(int userId, int productId);

    CarItem findCarItemByUserIdAndProductId(int userId, int productId);

    List<CarItem> findCarItemsByUserId(int userId);

    int deleteCarItem(int id);

    int updateCarItemStatus(Integer carItemId, Integer status);
}
